package com.onlinevideo.entity;

public class Comment {

    private Long id;

    private Long commentId;

    private Long fatherCommentId;

    private Integer commentStatus;

    private Long userId;

    private Long videoId;

    private String commentContent;

    private String commentTime;

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", commentId=" + commentId +
                ", fatherCommentId=" + fatherCommentId +
                ", commentStatus=" + commentStatus +
                ", userId=" + userId +
                ", videoId=" + videoId +
                ", commentContent='" + commentContent + '\'' +
                ", commentTime='" + commentTime + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getFatherCommentId() {
        return fatherCommentId;
    }

    public void setFatherCommentId(Long fatherCommentId) {
        this.fatherCommentId = fatherCommentId;
    }

    public Integer getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(Integer commentStatus) {
        this.commentStatus = commentStatus;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }

    public Comment() {
    }

    public Comment(Long id, Long commentId, Long fatherCommentId, Integer commentStatus, Long userId, Long videoId, String commentContent, String commentTime) {
        this.id = id;
        this.commentId = commentId;
        this.fatherCommentId = fatherCommentId;
        this.commentStatus = commentStatus;
        this.userId = userId;
        this.videoId = videoId;
        this.commentContent = commentContent;
        this.commentTime = commentTime;
    }
}
